package org.thingsboard.server.transport.mqtt.util;

public class SwitchDemo {
    public static void main(String[] args) {
        int type=2;
        switch (type){
            case 1:
                System.out.println("-------------1--------------");
                break;
            case 2:
            case 3:
                System.out.println("-------------3--------------");
                break;
            default:
                System.out.println("-------------default--------------");
                break;

        }
    }
}
